/*
 * Copyright 2019-present Open Networking Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.onosproject.ngsdn.tutorial;

import org.onosproject.net.pi.model.PiPipeconfId;
import org.onosproject.net.pi.model.PiTableId;

public class AppConstants {

    public static final String APP_NAME = "org.onosproject.secret-tranmission";
    public static final PiPipeconfId PIPECONF_ID = new PiPipeconfId("org.onosproject.secret-tranmission");
    public static final int DEFAULT_FLOW_RULE_PRIORITY = 10;
    public static final int INITIAL_SETUP_DELAY = 2; // Seconds.
    public static final int CLEAN_UP_DELAY = 2000; // milliseconds
    public static final int DEFAULT_CLEAN_UP_RETRY_TIMES = 10;
    public static final int CPU_PORT_ID = 255;
    public static final int CPU_CLONE_SESSION_ID = 99;
    // ****************************       Tables       **********************************
    public static final PiTableId L2_EXACT_TABLE = PiTableId.of("IngressPipeImpl.l2_exact_table");
    public static final PiTableId ARP_REPLY_TABLE = PiTableId.of("IngressPipeImpl.arp_reply_table");
    public static final PiTableId IPV4_FOWRARD_TABLE = PiTableId.of("IngressPipeImpl.ipv4_forward_table");
    public static final PiTableId IPV4_CONVERSION_TABLE = PiTableId.of("IngressPipeImpl.ipv4_conversion_table");
    public static final PiTableId MF_CONVERSION_TABLE = PiTableId.of("IngressPipeImpl.mf_conversion_table");
    public static final PiTableId MF_FOWRARD_TABLE = PiTableId.of("IngressPipeImpl.mf_forward_table");
    public static final PiTableId GEO_CONVERSION_TABLE = PiTableId.of("IngressPipeImpl.geo_conversion_table");
    public static final PiTableId GEO_FOWRARD_TABLE = PiTableId.of("IngressPipeImpl.geo_forward_table");
    public static final PiTableId ACL_TABLE = PiTableId.of("IngressPipeImpl.acl_table");
}
